from google.appengine.api import users

def check_login():
	user = users.get_current_user()
	if user: return True
	else: return False
